﻿using DearlerPlatform.Domain;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DearlerPlatfrom.Service.ProductApp
{
    /// <summary>
    /// 产品图片
    /// </summary>
    public partial class ProductService
    {
        /// <summary>
        /// 
        /// </summary>
        /// <param name="ProductNo"></param>
        /// <returns></returns>
        public async Task<List<ProductPhoto>> GetProductPhotoByProductNo(params string[] ProductNo)
        {
            return await _productPhotoRepo.GetListAsync(m => ProductNo.Contains(m.ProductNo));
        }
    }
}
